package com.datang.litejvm.constant;

import com.datang.litejvm.print.Visitor;

public class ConstantNullConstantInfo extends ConstantInfo {

    public ConstantNullConstantInfo(ConstantPool pool) {
        super(pool);
    }

    @Override
    public int getTag() {
        return -1;
    }

    @Override
    public String getValue() {
        return "";
    }

    @Override
    public  void accept(Visitor visitor){
        visitor.visit(this);
    }
}
